package com.wangxiang.shop.product.dao;

import com.wangxiang.shop.product.entity.ClothingSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-03-14 11:30:20
 */
@Mapper
public interface ClothingSkuDao extends BaseMapper<ClothingSkuEntity> {
	List<ClothingSkuEntity> getSkuBySpuId(int spuId);

	int upDateStatus(ClothingSkuEntity skuEntity);

	int sumData(int spuId);

	int updateWare(int spuId , int ware);
}
